In [ ]:
# Rock, Paper, Scissors
import random

choices = ("Rock", "Paper", "Scissors") #It's the name of the game.
player_score = 0# This is how the person that's playing the game score.
pc_score = 0  #It's the computer score. 
playing = False #. conceal one's true motives from especially by elaborately feigning good intentions so as to gain an end
score_limit = 4 #It's the score. 

play = input("Do you want to play? (y/n): ")#It's asking if yoiu want to play.

if play in ["y", "yes"]:#They are replying.
    playing = True# They don't give up.
elif play in ["n", "no"]:# Replying with no.
    playing = False# conceal one's true motives from especially by elaborately feigning good intentions so as to gain an end
else:
    print("error") #There's a mistake.

while playing:# The player and the pc playing.
        player = input("Enter your choice: ")# Choose any rock, paper andf scissors.
        pc = random.choice(choices)# They choose random.

        if player == "Rock":# The player choose rock
            if pc == "Paper":# The pc chooses paper.
                print("Computer's choice: {}".format(pc))# It's the pc choice.
                pc_score += 1# The pc had 1 point.
                print("Your score: {}".format(player_score))#It's the playerore.
                print("pc's score: {}".format(pc_score))#It's the pc score.
                continue# Yoiu can keep going.
            if pc == "Scissors":#The comnpuer chooses scissors.
                print("pc's choice: {}".format(pc))#n It's the pc choice.
                player_score += 1#The player has one point.
                print("Your score: {}".format(player_score))#It's the player score.
                print("pc's score: {}".format(pc_score))# It's the pc score.
                continue#You can keep going. 

        elif player == "Paper":#The player choose paper. 
            if  pc == "Rock":#pc chooses rock. 
                print("pc's choice: {}".format(pc))#It's the pc choose. 
                player_score += 1 # The p,layer scored one point.
                print("Your score: {}".format(player_score))#It's the player score. 
                print("pc's score: {}".format(pc_score))#It's the pc score. 
                continue#You can keep going. 
            if pc == "Scissors": # The pc choose scissors.
                print("pc's choice: {}".format(pc))#It's the compuer chose. 
                pc_score += 1 #The pc scored one point.
                print("Your score: {}".format(player_score))# It's the player score. 
                print("pc's score: {}".format(pc_score))#It's the pc score. 
                continue# You can keep going. 

        elif player == "Scissors": # The player chose scissors.
            if pc == "Rock":# The pc chose rock. 
                print("pcs choice: {}".format(pc))#It prints out the pc choice.
                pc_score += 1 #The pc scored a point.
                print("Your score: {}".format(player_score))#It's the player score.
                print("pc's score: {}".format(pc_score))#It's the computer score.
                continue#You can keep going. 
            if pc == "Paper":#The pc chose paper.
                print("pc's choice: {}".format(computer))#It's the pc choice 
                player_score += 1#It's the person playing the score.
                print("Your score: {}".format(player_score))#It's your score.
                print("pc's score: {}".format(pc_sc<a href="For_Loops.html"><p>For_Loops</p></a>
        <a href="rock" download><p>rock paper and scissors text file</p></a>
        <a href="rock,paperandscissors.html"><p>rock paper and scissors</p></a>ore)) #It's the pc score. 
                continue#You can keep going. 

        if player == pc:#It's the player choice.  
            print("pc's choice: {}".format(pc))#It's the pc choice.
            print("Your score: {}".format(player_score))#It's the player choice. 
            print("pc's score: {}".format(pc_score))#It's the pc score. 
            continue #You can keep going. 

        elif player not in choices:#Whenever the player chooses it's not in the choice.
            print("Error") #There's a mistake.
            

        if player_score == score_limit or pc_score == score_limit:#When they reach the score limit. 
            print("Game done")#The game is finished. 
            break#The program is done. 
Do you want to play? (y/n): y
Enter your choice: Rock
Computer's choice: Scissors
Your score: 1
pc's score: 0
Enter your choice: Paper
pc's choice: Paper
Your score: 1
pc's score: 0
Enter your choice: Paper
pc's choice: Scissors
Your score: 1
pc's score: 1
Enter your choice: Paper
pc's choice: Scissors
Your score: 1
pc's score: 2
Enter your choice: Scissors
pcs choice: Rock
Your score: 1
pc's score: 3
Enter your choice: 
Error
Enter your choice: Rock
pc's choice: Rock
Your score: 1
pc's score: 3
Enter your choice: Rock
Computer's choice: Scissors
Your score: 2
pc's score: 3
Enter your choice: Rock
Computer's choice: Scissors
Your score: 3
pc's score: 3
Enter your choice: Rock
pc's choice: Rock
Your score: 3
pc's score: 3
Enter your choice: Rock
Computer's choice: Scissors
Your score: 4
pc's score: 3
In [ ]: